setGlobalDuration(10)

# A sawtooth wave with amplitude envelope and pitch variation
env = genAdsr()
lfo(bus='pit', amplitude=.02, frequency=5)
sawtooth(pitch=500, amplitude=.5, envelope=env, pitchVar='pit')
startCsound()
